package com.drg.center.entity.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 病例医嘱
 * </p>
 *
 * @author system
 * @since 2025-01-05
 */
@Data
@ApiModel("医嘱信息VO")
public class CaseAdviceVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("医嘱类型（1:长期医嘱，2:临时医嘱）")
    private Integer adviceType;

    @ApiModelProperty("医嘱类别（0：项目，1：药品）")
    private Integer adviceKind;

    @ApiModelProperty("医嘱内容")
    private String adviceContent;

    @ApiModelProperty("出院科室名称")
    private String departName;

    @ApiModelProperty("医生姓名")
    private String doctorName;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;



}
